<!DOCTYPE html>
<html    xmlns:th="http://www.thymeleaf.org">

<head th:replace="comm/common :: header(~{::title},~{},~{})">
    <title>编辑用户</title>
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight" style="padding:0px;">
        <div class="row">
            <div style="width: 100%">
                <div class="ibox">
                    <div class="ibox-content">
                        <form id="form"  method="post" class="wizard-big">
                            <input type="hidden" name="id" th:value="${user.id}">
                            <h1>账户信息</h1>
                            <fieldset>
                                <!--<h2>账户信息</h2>-->
                                <div class="row">
                                    <div class="col-sm-8">
                                        <div class="form-group">
                                            <label>用户名 *</label>
                                            <input id="userName" name="userAccount" th:value="${user.userAccount}" type="text" class="form-control required">
                                        </div>
                                        <div class="form-group">
                                            <label>邮箱</label>
                                            <input id="emailId" name="email" type="email" th:value="${user.email}" placeholder="请输入邮箱地址" class="form-control">
                                        </div>
                                        <div class="form-group">
                                            <label>手机号</label>
                                            <input id="iphoneId" name="iphone" placeholder="请输入手机号码" th:value="${user.iphone}" type="tel" class="form-control">
                                        </div>
                                    </div>

                                </div>
                            </fieldset>
                            <h1>基本资料</h1>
                            <fieldset>
                                <div class="row">
                                    <div class="col-sm-6">
                                        <div class="form-group">
                                            <label>姓名</label>
                                            <input id="name" name="realName" type="text" th:value="${user.realName}" class="form-control">
                                        </div>
                                        <div class="form-group">
                                            <label>昵称</label>
                                            <input id="name" name="nickName" th:value="${user.nickName}" type="text" class="form-control">
                                        </div>
                                        <div class="form-group">
                                            <label>性别</label>
                                            <div class="col-sm-9">
                                                <label class="radio-inline"><input type="radio" checked="${user.sex == 1}" value="1" id="sex1" name="sex">男</label>
                                                <label class="radio-inline"><input type="radio" checked="${user.sex == 2}" value="2" id="sex2" name="sex">女</label>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label>备注</label>
                                            <p class="form-control-static">请输入备注信息</p>
                                        </div>
                                    </div>
                                </div>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div th:replace="comm/common :: bottom"></div>
    <script th:src="@{/admin/user/edit_user.js}" ></script>
</body>

</html>
